﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HuaXingSDK.Request
{
    public class Req单笔提现 : HXAsynRequest
    {
        public string MerchantName { get; }
        public string ACNo { get; set; }
        public string ACName { get; set; }
        public decimal Amount { get; set; }
        public string Remark { get; set; }
        public string ReturnUrl { get; set; }

        public Req单笔提现(bool isPc = true)
            : base(isPc ? HXTransCode.Req_提现_PC端 : HXTransCode.Req_提现_移动端)
        {
            TTrans = HXTrans.提现;
            MerchantName = HXConfigs.商户名称;
            SetNodeOrderAfter(nameof(AppId), nameof(MerchantName));
        }
    }
}
